runtime.workType.goroutineLeak (field)
19 uses
runtime (current package)
mgc.go#L398: goroutineLeak struct {
mgc.go#L600: work.goroutineLeak.pending.Store(true)
mgc.go#L638: for work.goroutineLeak.pending.Load() {
mgc.go#L894: if work.goroutineLeak.pending.Load() {
mgc.go#L895: work.goroutineLeak.enabled = true
mgc.go#L896: work.goroutineLeak.pending.Store(false)
mgc.go#L1115: if restart || (work.goroutineLeak.enabled && !work.goroutineLeak.done) {
mgc.go#L1124: work.goroutineLeak.done = findGoroutineLeaks()
mgc.go#L1314: work.goroutineLeak.count = work.nStackRoots - work.nMaybeRunnableStackRoots
mgc.go#L1494: if work.goroutineLeak.enabled {
mgc.go#L1502: work.goroutineLeak.enabled = false
mgc.go#L1503: goroutineLeakDone = work.goroutineLeak.done
mgc.go#L1504: work.goroutineLeak.done = false
mgcmark.go#L154: if work.goroutineLeak.enabled {
mgcmark.go#L1192: if !work.goroutineLeak.enabled {
mprof.go#L1323: return work.goroutineLeak.count, false
mprof.go#L1329: n = work.goroutineLeak.count
proc.go#L5721: return work.goroutineLeak.count
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |